package com.github.yoojia.mqtt.boot;

import com.github.yoojia.mqtt.MQTTSocket;
import com.parkingwang.lang.data.Config;

/**
 * @author Yoojia Chen (yoojiachen@gmail.com)
 * @since 1.0
 */
public interface Plugin {

    void onInit(MQTTSocket socket, Config config);

    void onStart();

    void onStop();
}
